package edu.zust.zw.shop.service;

public interface LoginService {
    
    boolean login(String userId, String loginPass, String key);
    
    boolean add(String userId, String username, String email, String password);
    
    /**
     * 
     * @param userId
     * @return  fasle账号存在
     */
    boolean checkAccount(String userId);

    /**
     * 
     * @param userNanme
     * @return false 用户名存在
     */
    boolean checkUsername(String username);
}
